package com.ruoyi.process.ccs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班组事故记录对象 ccs_accident
 *
 * @author Xianlu Tech
 * @date 2020-04-02
 */
public class CcsAccident extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 1是0否 */
    @Excel(name = "1是0否")
    private String ahuman;

    /** 事故类型 */
    @Excel(name = "事故类型")
    private String atype;

    /** 事故级别 */
    @Excel(name = "事故级别")
    private String alevel;

    /** 伤亡人数 */
    @Excel(name = "伤亡人数")
    private Double cnumber;

    /** 事故损失 */
    @Excel(name = "事故损失")
    private String alose;

    /** 事故原因 */
    @Excel(name = "事故原因")
    private String acause;

    /** 事故责任人 */
    @Excel(name = "事故责任人")
    private String adutyuserid;

    /** 事故责部门 */
    @Excel(name = "事故责部门")
    private String aorg;

    /** 事故内容 */
    @Excel(name = "事故内容")
    private String accidenttext;

    /** 事故处理人 */
    @Excel(name = "事故处理人")
    private String opman;

    /** $column.columnComment */
    private String id;

    /** 事故地点 */
    @Excel(name = "事故地点")
    private String aaddress;

    /** 发生时间 */
    @Excel(name = "发生时间")
    private String curentdate;

    /** 汇报时间 */
    @Excel(name = "汇报时间")
    private String reporttime;

    /** 汇报人员 */
    @Excel(name = "汇报人员")
    private String reportuserid;

    /** $column.columnComment */
    @Excel(name = "汇报人员")
    private String ctime;

    /** $column.columnComment */
    @Excel(name = "汇报人员")
    private String etime;

    /** $column.columnComment */
    @Excel(name = "汇报人员")
    private String cuser;

    /** $column.columnComment */
    @Excel(name = "汇报人员")
    private String euser;

    /** $column.columnComment */
    @Excel(name = "汇报人员")
    private String pstate;

    /** $column.columnComment */
    @Excel(name = "汇报人员")
    private String pcontent;

    /** 事故影响 */
    @Excel(name = "事故影响")
    private String aaffect;

    /** 事故分析 */
    @Excel(name = "事故分析")
    private String aanalyse;

    /** 处理措施 */
    @Excel(name = "处理措施")
    private String precautions;

    /** $column.columnComment */
    @Excel(name = "处理措施")
    private String result;

    public void setAhuman(String ahuman) {
        this.ahuman = ahuman;
    }

    public String getAhuman() {
        return ahuman;
    }
    public void setAtype(String atype) {
        this.atype = atype;
    }

    public String getAtype() {
        return atype;
    }
    public void setAlevel(String alevel) {
        this.alevel = alevel;
    }

    public String getAlevel() {
        return alevel;
    }
    public void setCnumber(Double cnumber) {
        this.cnumber = cnumber;
    }

    public Double getCnumber() {
        return cnumber;
    }
    public void setAlose(String alose) {
        this.alose = alose;
    }

    public String getAlose() {
        return alose;
    }
    public void setAcause(String acause) {
        this.acause = acause;
    }

    public String getAcause() {
        return acause;
    }
    public void setAdutyuserid(String adutyuserid) {
        this.adutyuserid = adutyuserid;
    }

    public String getAdutyuserid() {
        return adutyuserid;
    }
    public void setAorg(String aorg) {
        this.aorg = aorg;
    }

    public String getAorg() {
        return aorg;
    }
    public void setAccidenttext(String accidenttext) {
        this.accidenttext = accidenttext;
    }

    public String getAccidenttext() {
        return accidenttext;
    }
    public void setOpman(String opman) {
        this.opman = opman;
    }

    public String getOpman() {
        return opman;
    }
    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }
    public void setAaddress(String aaddress) {
        this.aaddress = aaddress;
    }

    public String getAaddress() {
        return aaddress;
    }
    public void setCurentdate(String curentdate) {
        this.curentdate = curentdate;
    }

    public String getCurentdate() {
        return curentdate;
    }
    public void setReporttime(String reporttime) {
        this.reporttime = reporttime;
    }

    public String getReporttime() {
        return reporttime;
    }
    public void setReportuserid(String reportuserid) {
        this.reportuserid = reportuserid;
    }

    public String getReportuserid() {
        return reportuserid;
    }
    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public String getCtime() {
        return ctime;
    }
    public void setEtime(String etime) {
        this.etime = etime;
    }

    public String getEtime() {
        return etime;
    }
    public void setCuser(String cuser) {
        this.cuser = cuser;
    }

    public String getCuser() {
        return cuser;
    }
    public void setEuser(String euser) {
        this.euser = euser;
    }

    public String getEuser() {
        return euser;
    }
    public void setPstate(String pstate) {
        this.pstate = pstate;
    }

    public String getPstate() {
        return pstate;
    }
    public void setPcontent(String pcontent) {
        this.pcontent = pcontent;
    }

    public String getPcontent() {
        return pcontent;
    }
    public void setAaffect(String aaffect) {
        this.aaffect = aaffect;
    }

    public String getAaffect() {
        return aaffect;
    }
    public void setAanalyse(String aanalyse) {
        this.aanalyse = aanalyse;
    }

    public String getAanalyse() {
        return aanalyse;
    }
    public void setPrecautions(String precautions) {
        this.precautions = precautions;
    }

    public String getPrecautions() {
        return precautions;
    }
    public void setResult(String result) {
        this.result = result;
    }

    public String getResult() {
        return result;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ahuman", getAhuman())
            .append("atype", getAtype())
            .append("alevel", getAlevel())
            .append("cnumber", getCnumber())
            .append("alose", getAlose())
            .append("acause", getAcause())
            .append("adutyuserid", getAdutyuserid())
            .append("aorg", getAorg())
            .append("accidenttext", getAccidenttext())
            .append("opman", getOpman())
            .append("id", getId())
            .append("aaddress", getAaddress())
            .append("curentdate", getCurentdate())
            .append("reporttime", getReporttime())
            .append("reportuserid", getReportuserid())
            .append("ctime", getCtime())
            .append("etime", getEtime())
            .append("cuser", getCuser())
            .append("euser", getEuser())
            .append("pstate", getPstate())
            .append("pcontent", getPcontent())
            .append("aaffect", getAaffect())
            .append("aanalyse", getAanalyse())
            .append("precautions", getPrecautions())
            .append("result", getResult())
            .toString();
    }
}
